<template>
  <div class="demo">
    <div class="demo-title">单选组合 - 配合 name 使用</div>
    <div class="demo-content">
      <Radio.Group v-model:value="value" name="radioGroup">
        <Radio value="1">A</Radio>
        <Radio value="2">B</Radio>
        <Radio value="3">C</Radio>
        <Radio value="4">D</Radio>
      </Radio.Group>
    </div>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue';
  import Radio from '@sscd/radio';
  const value = ref<string>('1');
</script>
